package com.dhecp.project.hr.service;

import com.dhecp.common.core.domain.AjaxResult;
import com.dhecp.project.hr.domain.AmazonAddress;

import java.util.List;
import java.util.Map;

public interface AmazonAddressService {

    /**
     *@Description: 查询
     *@Param: [params]
     *@return: java.util.List<com.dhecp.project.storage.domain.AssemblyPlan>
     *@Author: hlf
     *@date: 2022-05-09 9:41
     */
    List<AmazonAddress> queryList(Map<String, Object> params) throws Exception;

    /**
     *@Description: 查询指定单记录
     *@Param: nid 必要参数：当前 单据编码
     *@return: com.dhecp.project.storage.domain.AssemblyPlan
     *@Author: hlf
     *@date: 2022-05-09 9:40
     */
    AmazonAddress findByGuid(Map<String, Object> params) throws Exception;

    /**
     * 新增物流服务商
     * @author Jason
     * @date: 2022-09-02 21:40
     */
    AjaxResult insert(Map<String, Object> params);


    AjaxResult update(Map<String, Object> params);

    /**
     *@Description: 删除
     *@Param: [params]
     *@return: com.dhecp.common.core.domain.AjaxResult
     *@Author: hlf
     *@date: 2022-05-09 9:42
     */
    AjaxResult deleteData(Map<String, Object> params);

    AmazonAddress queryFirstByGuid(Map<String, Object> params) throws Exception;


}
